package com.framework.base.constant;

/**
 * 接口返回状态码常量
 *
 * @author LeeJun
 */
public class BaseCodeMsgConstant {

	/********************** 系统级状态 **********************/
	/**
	 * 系统错误
	 */
	public static final int ERROR = -1;
	public static final String ERROR_MSG = "系统异常";
	/**
	 * 处理成功
	 */
	public static final int SUCCESS = 0;
	public static final String SUCCESS_MSG = "成功";
	/**
	 * 处理失败
	 */
	public static final int FAIL = 1;
	public static final String FAIL_MSG = "处理失败";
	/**
	 * 未登录
	 */
	public static final int NOTLOGIN = 2;
	public static final String NOTLOGIN_MSG = "未登陆";
	/**
	 * 参数错误
	 */
	public static final int PARAM_ERROR = 3;
	public static final String PARAM_ERROR_MSG = "参数错误";

	/**
	 * 未找到相关数据
	 */
	public static final int NODATA = 4;
	public static final String NODATA_MSG = "未找到相关数据";

}
